package com.yunzheng.studyLeaveSystem.modules.admin.show.condition.service;

import com.yunzheng.studyLeaveSystem.modules.admin.show.condition.dao.LeaveDao;
import com.yunzheng.studyLeaveSystem.modules.admin.show.condition.dao.lmpl.LeaveDaoImpl;
import com.yunzheng.studyLeaveSystem.modules.admin.show.condition.entity.leaver;

import java.util.List;

public class LeaveServiceImpl {
    /**
     * 查询请假信息
     *
     * @throws Exception
     * @return返回当天请假信息
     */
    public List<leaver> showDay() throws Exception {
        LeaveDao leaveDao = new LeaveDaoImpl();
        return leaveDao.queryDay();
    }
}
